home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7170 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.9 KB

  1. Path: news.cyberport.com!usenet
  2. From: tangent@cyberport.com (Warren Young)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Parsing library for PC, C or C++, LEX for PC
  5. Date: Wed, 21 Feb 1996 17:48:45 GMT
  6. Organization: none
  7. Message-ID: <312b5997.211925703@news.cyberport.com>
  8. References: <4ftdjc$3dc@utopia.hacktic.nl> <JARNOT.96Feb15163033@box10.dstar.iddis.com>
  9. NNTP-Posting-Host: ppp12.cyberport.com
  10. X-Newsreader: Forte Agent .99d/32.182
  11.  
  12. jarnot@iddis.com (Kevin J. Jarnot) wrote:
  13.  
  14. >    Mike> I'm looking for something
  15. >    Mike> like the LEX utility for UNIX but for the PC.  Of course my
  16. >    Mike> preference is for shareware (freeware) but a low cost
  17. >    Mike> alternative would also be helpful.
  18. >
  19. >Both FLEX and BISON are available for DOS.  Try looking on
  20. >ftp://prep.ai.mit.edu/pub/gnu
  21.  
  22. They're available, but the code they generate depends heavily on a
  23. more relaxed UNIX-oriented compiler.  I don't know about other
  24. compilers, but Borland C++ goes into the screaming heebie jeebies when
  25. you throw flex/bison output at it.  Maybe you can find the right
  26. warning combo to turn off, but I didn't have the time or the
  27. inclination to mess with it further.
  28.  
  29. If you still want to give them a shot, though, you'll have to look
  30. elsewhere.  I get my GNUish stuff at
  31. ftp://oak.oakland.edu/SimTel/vendors/gnu/gnuish.  Get 00_index.txt and
  32. it'll tell you everything.  You might also look at the alternatives in
  33. /SimTel/msdos/c and /SimTel/msdos/pgmutil.  If you have the djgpp
  34. compiler, life will probably be much easier for you than it was for
  35. me.
  36.  
  37. I haven't tried it, but I'd bet that if you had the money one of the
  38. commercial alternatives would be much less painful and probably easier
  39. to use.  Sandstone Technology offers Visual Parse++, Abraxas has
  40. PC-YACC, and Mortice Kern Systems has MKS lex/yacc.  The latter is the
  41. most likely to follow UNIX lex/yacc, and the former is the most
  42. different, though many claim it makes building scanners and parsers
  43. much easier.
  44.  
  45. Good luck,
  46.  
  47. = Warren --
  48.